package com.company.emallbackend.entity.dto;

import cn.hutool.core.annotation.Alias;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author hanlijian
 * @create 2023-01-11-13:25
 */
@Data
@ApiModel(value = "登录信息",description = "通过用户名或邮箱登录")
public class LoginDTO {
    @ApiModelProperty("用户名或邮箱")
    @Alias("用户名或邮箱")
    private String name;
    
    @ApiModelProperty("密码")
    @Alias("密码")
    private String password;
}
